<?php

/** 
 * @project ThemeStudio Framework ThemeStudio.Net
 * @author vulinhpc Email: vulinhpc@gmail.com
 * @company ChuyenTam JSC <chuyentam.vn>
 * @copyright 2012 (c) ChuyenTam JSC
 * @version 1.0
 */
 
 //Define constant
 define( 'FRAMEWORK_DIRECTORY', get_template_directory() . '/ts-framework');
 define( 'FRAMEWORK_LIBS_DIRECTORY',FRAMEWORK_DIRECTORY.'/libs');
 define( 'FRAMEWORK_POST_TYPES_DIRECTORY',FRAMEWORK_DIRECTORY.'/post-types');
 define( 'FRAMEWORK_METAS_DIRECTORY',FRAMEWORK_DIRECTORY.'/metas');
 define( 'CUZTOM_TEXTDOMAIN', 'themestudio' );

 
//Load admin 
if ( !function_exists( 'optionsframework_init' ) ) {
	define( 'ADMIN_OPTIONS_DIRECTORY', get_template_directory_uri() . '/ts-framework/admin/' );
	require_once dirname( __FILE__ ) . '/admin/nhp-options.php';
} 

//Load helper
require(FRAMEWORK_LIBS_DIRECTORY.'/cuztom_helper.php');


//Load custom post types
require(FRAMEWORK_POST_TYPES_DIRECTORY.'/portfolio.php');


//Load metas
require(FRAMEWORK_POST_TYPES_DIRECTORY.'/portfolio.php');
require(FRAMEWORK_METAS_DIRECTORY.'/portfolio_metas.php');

?>